<%@page contentType="text/html;charset=UTF-8"%>
<%@page pageEncoding="UTF-8"%>
<%@ page session="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
	<META http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>Alətlərim, Qeydlərim...</title>
    <link href="<c:url value="/styles/Main.css" />" rel="stylesheet" type="text/css" />
    <style type="text/css">
        h3
        {
            background-color:#5D7B80;
            border:1px solid Gray;
            color:White;
            padding:5px;
            width:230px;
        }
        .error
        {
        	font-weight: bold;
        	color: red;
        }
    </style>	
</head>
<body>
	<a href="account/test">Test</a>
    <div style="padding-top: 20px">
        <center>
            <img src="images/logo.png" /><br />
            <h3>Alətlərim, Qeydlərim...</h3>
			<form:form modelAttribute="login" method="post">
            <table cellspacing="0" cellpadding="4" border="0" 
            	   style="background-color:#F7F6F3;
            	   		  border-color:#E6E2D8;
            	   		  border-width:1px;
            	   		  border-style:Solid;
            	   		  border-collapse:collapse;">
				<tr>
					<td>
					<table cellpadding="0" border="0" style="color:#333333;">
					<tr>
						<td align="center" colspan="2" style="color:White;background-color:#5D7B9D;font-size:14px;font-weight:bold;">Sistemə Giriş</td>
					</tr>
					<tr>
						<td align="right">
							<form:label	for="userId" path="userId" cssErrorClass="error">İstifadəçi adı:</form:label>
						</td>
						<td>
							<form:input path="userId" /> 		
						</td>
					</tr>
					<tr>
						<td align="right">
							<form:label	for="password" path="password" cssErrorClass="error">Şifrə:</form:label>
						</td>
						<td>
							<form:password path="password" /> 	
						</td>
					</tr>
					<tr>
						<td colspan="2"><input id="Login1_RememberMe" type="checkbox" name="Login1$RememberMe" /><label for="Login1_RememberMe">Xatırla məni..!</label>
						<br/>
						<form:errors path="userId" cssClass="error" />	
						<form:errors path="password" cssClass="error" />		
					</td>
					</tr>
					<tr>
						<td align="right" colspan="2">
							<input type="submit" name="Login1$LoginButton" value="Daxil ol" id="Login1_LoginButton" class="button" />
						</td>
					</tr>
					</table>
					</td>
				</tr>
			</table>
			</form:form>
        </center>
    </div>

</body>
</html>